std::array::end, std::array::cend

From Cppreference

Jump to: navigation, search
​iterator end();
(C++0x feature)
​const_iterator end() const;
(C++0x feature)
​const_iterator cend() const;
(C++0x feature)

Returns an iterator to the element following the last element of the container. This element acts as a placeholder, attempting to access it results in undefined behavior.

Contents

Parameters

(none)

Return value

iterator to the element following the last element

Complexity

constant

See also

begin
cbegin
returns an iterator to the beginning
(public member function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages